|
|
|
|
<CodeWLangageMiseEnForme>.MetEnForme (Fonction) En anglais : <WLanguageCodeFormatting>.Format Met en forme un code WLangage : coloration, réécriture normalisée, indentation, traduction, etc.
sCode est une chaîne ANSI = "
MiseEnFormeCode est un CodeWLangageMiseEnForme
MiseEnFormeCode.Langue = langueFrançais
MiseEnFormeCode.Indentation = Vrai
MiseEnFormeCode.InclureDéclarationsCSS = Vrai
MiseEnFormeCode.IgnoreErreurCompilation = Vrai
MiseEnFormeCode.CasseMotsClés = codeWLangageMotsClésMinuscule
MiseEnFormeCode.Thème = codeWLangageThèmeSombre
MiseEnFormeCode.Format = codeWLangageFormatHTML
bufResHTML est un Buffer = MiseEnFormeCode.MetEnForme(sCode)
"
MiseEnFormeCode est un CodeWLangageMiseEnForme
MiseEnFormeCode.Langue = langueFrançais
MiseEnFormeCode.Indentation = Vrai
MiseEnFormeCode.InclureDéclarationsCSS = Vrai
MiseEnFormeCode.IgnoreErreurCompilation = Vrai
MiseEnFormeCode.CasseMotsClés = codeWLangageMotsClésMinuscule
MiseEnFormeCode.Thème = codeWLangageThèmeSombre
MiseEnFormeCode.Format = codeWLangageFormatHTML
bufResHTML est un Buffer = MiseEnFormeCode.MetEnForme(sCode)
HTM_SansNom1 = bufResHTML.UTF8VersChaîne()
Syntaxe
<Résultat> = <Paramètres à utiliser>.MetEnForme(<Code à  mettre en forme>)
<Résultat> : Chaîne de caractères Code WLangage mis en forme. <Paramètres à utiliser> : Variable de type CodeWLangageMiseEnForme Nom de la variable de type CodeWLangageMiseEnForme, contenant les paramètres de mise en forme du code. <Code à mettre en forme> : Chaîne de caractères Code à mettre en forme. Classification Métier / UI : Code neutre
Documentation également disponible pour…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|